package com.citywithincity.db.interfaces;

import java.sql.Connection;
import java.sql.SQLException;

import com.citywithincity.db.ArFactory;

/**
 * 数据提供者
 * @author Randy
 *
 */
public interface IDataSourceProvider {
	ArFactory createArFactory() throws SQLException;
	void close();
	Connection getConnection() throws SQLException;
	void close(Connection connection);
}	
